<template>
  <div>
  </div>
</template>
<script>
export default {
  name: "Detail",
  data() {
    return {
      detail: null,
    };
  },
  async created() {
    var id = this.$route.query.id;
    console.log(id)
    var res = await this.$http({
      url: "/xuexiao/api/getgoodsinfo",
      params: {
        id,
      },
    });
    console.log(res)
  }
};
</script>
<style>

</style>